/*******************************************************************************
 * Copyright (c) 2008 Sylvain Sicard.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser Public License v2.1
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Sylvain Sicard - initial API and implementation
 ******************************************************************************/
package fr.jade.examples.fraclite.orb.evalperf;
import org.objectweb.fractal.api.Component;
import org.objectweb.fractal.util.Fractal;

import fr.jade.fraclite.orb.common.api.NamingService;
import fr.jade.fraclite.orb.common.ns.Registry;

/**
 * 
 * @author <a href="mailto:florent.metral@inrialpes.fr">Florent Metral
 *
 */
public class BootstrapLauncher {

	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception {
	  Registry.createRegistry(0);
	  NamingService ns = Registry.getRegistry("localhost");
	  Component boot = Fractal.getBootstrapComponent();
		ns.bind("bootstrap", boot);
	}

}
